import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 引入reset.css初始化
import './assets/css/reset.css'
// 引入flexiable.js
import 'lib-flexible/flexible.js'
import 'amfe-flexible'
// 引入小图标
import './assets/css/iconfont.css'
// 引用vant
import { Button, Tab, Tabs, Form, Dialog, Toast, Field, Switch } from 'vant'
// 绑定fastclick
import FastClick from 'fastclick'
FastClick.attach(document.body)

Vue.config.productionTip = false
Vue.use(Button)
  .use(Tab)
  .use(Tabs)
  .use(Form)
  .use(Field)
  .use(Switch)
  .use(Toast)
  .use(Dialog)
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
